<!DOCTYPE html>
<html>
    <head lang="en">
        <meta charset="UTF-8">
        <title>KLIPSE: a simple and elegant online cljs compiler and evaluator</title>
        <link rel='shortcut icon' type='image/x-icon' href='img/klipse.png' />
        <link rel="stylesheet" type="text/css" href="css/codemirror.css">
    </head>
    <body>
    <h1> Go </h1>
<div class="eval-go" data-gist-id="viebel/851e37d44deea67aea849e81de38ea3f">
</div>
</br>

<h1> C# </h1>
<pre>
<code class="eval-csharp">
using System;

class MainClass {
  public static int Fibonacci(int n) {
    int a = 0;
    int b = 1;
    for (int i = 0; i < n; i++) {
      int temp = a;
      a = b;
      b = temp + b;
    }
    return a;
  }

  static void Main() {
    for (int i = 0; i < 15; i++) {
      Console.WriteLine(Fibonacci(i));
    }
  }
}

</code>
</pre>
        <br/>

<h1> Python </h1>
<pre>
<code class="eval-python">
def factorial(n):
  if n == 0:
    return 1
  else:
    return n * factorial(n - 1)

print(factorial(5))
</code>
</pre>
    <br/>
<pre>
<code class="eval-python">print(factorial(6))
print(factorial(3))</code>
</pre>
    </br>
    
    <script>
        window.klipse_settings = {
            selector_eval_go: '.eval-go',
            selector_eval_csharp: '.eval-csharp',
            selector_eval_python: '.eval-python'
        };
        </script>
        <script src="https://repl.it/lib/api.js" type="text/javascript" charset="utf-8"></script>
        <script src="/lib/mirror_extensions.js"></script>
        <script src="/fig/js/klipse.fig.js"></script>
    </body>
</html>
